<?php

namespace App\Module\Api\Validator;

use App\System\Base\Validator\BaseValidator;


/**
 * 定义验证器类
 * @author huwei
 */
class AuditValidator extends BaseValidator
{
    protected $rules = [
        'namespace' => 'required',
        'query'     => 'required',
    ];

    protected $messages = [
        'namespace.required' => '缺少请求参数',
        'sessionId.required' => '缺少请求参数',
        'query.required'     => '缺少请求参数',
    ];

    protected $attributes = [

    ];
}